package com.teasale.mapper;
import java.util.List;

import com.teasale.vo.OrderGoodsOV;
import org.apache.ibatis.annotations.Param;

import com.teasale.entity.SUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
* @author water003
* @description 针对表【s_user】的数据库操作Mapper
* @createDate 2023-06-06 01:00:49
* @Entity com.teasale.entity.SUser
*/
@Mapper
public interface SUserMapper extends BaseMapper<SUser> {
    List<SUser> selectByUserName(@Param("userName") String userName);

    SUser selectOneByUserName(@Param("userName") String userName);

    List<OrderGoodsOV> selectOrdersAllByUserId(@Param("userName") String userName);
}




